package com.itfreer.demo.form;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.bpm.api.BaseWorkFlowServiceImp;
import com.itfreer.form.api.BaseDao;

/**
 * 简单表单示例
 */
@Component
public class SimpleFormServiceImp extends BaseWorkFlowServiceImp<SimpleFormEntity> implements SimpleFormService {

	@Autowired
	private SimpleFormDao repository;

	@Override
	protected BaseDao<SimpleFormEntity> getDao() {
		return repository;
	}

	@Override
	public SimpleFormEntity getEntity(String guid) {
		return super.getEntity(guid);
	}
}
